<?php get_header(); ?>
<?php /* Get author data */
	if(get_query_var('author_name')) :
	$curauth = get_userdatabylogin(get_query_var('author_name'));
	else :
	$curauth = get_userdata(get_query_var('author'));
	endif;
?>
<div class="grid_12 blog-title">	
	<h1><?php _e('All posts by ', 'unicorn'); ?>"<?php echo $curauth->display_name;?>" &rarr;</h1>	
</div>
<?php $sidebar_position = get_option('reedwan_sidebar_position', 'true');?>
<?php if($sidebar_position=='left'):  ?>
<!-- Left Sidebar -->
<div class="grid_4 sidebar">
	<?php get_sidebar();?>
</div> 
<?php endif; ?>

<?php get_template_part('includes/blog-style-two');	?>

<?php if($sidebar_position=='right'):  ?>
<!-- Right Sidebar -->
<div class="grid_4 sidebar">
	<?php get_sidebar();?>
</div>
<?php endif; ?>

<?php get_footer(); ?>
